﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using eCommerce.Core.Domain.Products;

namespace eCommerce.Data.Mapping.Products
{
    public class ProductAttributeValueMapping : EntityTypeConfiguration<ProductAttributeValue>
    {

        public ProductAttributeValueMapping()
        {
            this.ToTable("ProductAttributeValues");
            this.HasKey(p => p.Id);
           


           

            //this.HasRequired(c=>c.Item).WithOptional(c=>c.ProductAttributeValue).WillCascadeOnDelete(false);
        }
    }
}
